package com.aisoback.service;


import com.aisoback.model.Posts;
import com.aisoback.model.dto.SavePostDTO;
import com.aisoback.model.vo.QueryPostsVO;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author qings
* @description 针对表【posts】的数据库操作Service
* @createDate 2024-10-08 14:39:31
*/
public interface PostsService extends IService<Posts> {

    int addPost(SavePostDTO save);

    Page<Posts> getPostPage(QueryPostsVO queryPostsVO,Integer pageNum, Integer pageSize);

}
